import React, { Component } from 'react'
// import { NavLink } from 'react-router-dom';


export default class cate extends Component {
    constructor(props){
        super(props);
        
    }
  
  render() {
    let {cate}=this.props
    return (
      <div>
        <div className="navbaner" >
          
            {cate.map((item)=>{
                return  <div key={item.id}>{item.catename}</div>
            })}
        </div>

      </div>
    )
  }
}
